#include <iostream>
using namespace std;

int main(){

    double x;
    cin >> x;
    if(x >= 0 && x <= 25) 
    cout << "Intervalo [0,25]";
    if(x > 25 && x <= 50)
    cout << "Intervalo (25,50]";
    if(x > 50 && x <= 75)
    cout << "Intervalo (50,75]";
    if( x > 75 && x <=100) 
    cout << "Intervalo (75,100]" ;
    if(x > 100 || x < 0) 
    cout << "Fora de intervalo";
    return 0;

}